package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.pojo.DailyPassengerCount;
import org.example.pojo.MonthPassengerCount;

import java.util.List;

@Mapper
public interface GetDailyMapper {

    @Select("select * from daily_passenger_count")
    List<DailyPassengerCount> getDaily();

    @Select("select * from month_passenger_percentage")
    List<MonthPassengerCount> getMonthly();
}
